home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 2000 November: Tool Chest / Dev.CD Nov 00 TC Disk 2.toast / mac / Sample Code / QuickTime / QuickTimeIntro / Sequence Grabbing / Clippings / Sequence Grab.c / SGInitialize.clp < prev    next >
MacBinary  |  2000-10-06  |  1.0 KB  |  [clpt/drag]

open in: MacOS 8.1     |     Win98     |     DOS

browse contents    |     view JSON data     |     view as text


This file was processed as: MacBinary (archive/macBinary).

ConfidenceProgramDetectionMatch TypeSupport
66% dexvert TRS-80 CLP File (image/trs80Clp) ext Supported
66% dexvert PC Paint Image (image/pcPaint) ext Supported
66% dexvert Windows Clipboard (image/windowsClipboard) ext Supported
10% dexvert MacBinary (archive/macBinary) fallback Supported
1% dexvert Quattro Pro Clip Art (image/quattroProClipArt) ext Unsupported
1% dexvert Home Plan Pro 5 Clip (other/homePlanPro5Clip) ext Unsupported
100% file MacBinary II, inited, Fri May 12 15:48:48 2000, modified Fri Oct 6 15:37:35 2000, creator 'drag', type 'clpt' "SGInitialize.clp", at 0x80 856 bytes resource Apple HFS/HFS+ resource fork, map offset 0x2fe, map length 0x5a, data length 0x1fe, nextResourceMap 0xf385030, fileRef 0x41e, list offset 0x1c, name offset 0x5a, 3 types, 0x54455854 'TEXT' * 1 resource offset 0x1a default (weak)
99% file data default
74% TrID Mac Text clippings (MacBinary) default
25% TrID MacBinary 2 default (weak)
100% siegfried fmt/1762 MacBinary (II) default
100% lsar MacBinary default


id metadata
keyvalue
macFileType[clpt]
macFileCreator[drag]



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 10 53 47 49 6e 69 74 | 69 61 6c 69 7a 65 2e 63 |..SGInit|ialize.c|
|00000010| 6c 70 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |lp......|........|
|00000020| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000030| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000040| 00 63 6c 70 74 64 72 61 | 67 01 00 00 00 00 00 00 |.clptdra|g.......|
|00000050| 00 00 00 00 00 00 00 00 | 00 03 58 b5 42 10 a0 b6 |........|..X.B...|
|00000060| 03 da 7f 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000070| 00 00 00 00 00 00 00 00 | 00 00 81 81 f5 df 00 00 |........|........|
|00000080| 00 00 01 00 00 00 02 fe | 00 00 01 fe 00 00 00 5a |........|.......Z|
|00000090| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000000a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000000b0| 10 53 47 49 6e 69 74 69 | 61 6c 69 7a 65 2e 63 6c |.SGIniti|alize.cl|
|000000c0| 70 65 74 65 2e 63 6c 70 | 6c 70 70 70 6c 70 70 79 |pete.clp|lppplppy|
|000000d0| 02 00 63 6c 70 74 64 72 | 61 67 01 00 ff ff ff ff |..clptdr|ag......|
|000000e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000000f0| 00 00 b5 42 09 98 00 00 | 00 00 00 00 03 58 00 00 |...B....|.....X..|
|00000100| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000110| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000120| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000130| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000140| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000150| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000160| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000170| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000180| 00 00 01 ae 09 09 65 72 | 72 20 3d 20 53 47 49 6e |......er|r = SGIn|
|00000190| 69 74 69 61 6c 69 7a 65 | 28 73 65 71 47 72 61 62 |itialize|(seqGrab|
|000001a0| 29 3b 0d 0d 09 09 69 66 | 20 28 65 72 72 20 3d 3d |);....if| (err ==|
|000001b0| 20 6e 6f 45 72 72 29 20 | 7b 0d 09 09 09 2f 2f 20 | noErr) |{....// |
|000001c0| 67 65 74 20 61 6e 64 20 | 73 65 74 20 74 68 65 20 |get and |set the |
|000001d0| 73 65 71 75 65 6e 63 65 | 20 67 72 61 62 62 65 72 |sequence| grabber|
|000001e0| 20 63 6f 6e 74 72 6f 6c | 20 66 6c 61 67 73 0d 09 | control| flags..|
|000001f0| 09 09 53 47 47 65 74 46 | 6c 61 67 73 28 73 65 71 |..SGGetF|lags(seq|
|00000200| 47 72 61 62 2c 20 26 66 | 6c 61 67 73 29 3b 0d 09 |Grab, &f|lags);..|
|00000210| 09 09 2f 2f 66 6c 61 67 | 73 20 7c 3d 20 73 67 46 |..//flag|s |= sgF|
|00000220| 6c 61 67 41 6c 6c 6f 77 | 4e 6f 6e 52 47 42 50 69 |lagAllow|NonRGBPi|
|00000230| 78 4d 61 70 73 3b 0d 09 | 09 09 53 47 53 65 74 46 |xMaps;..|..SGSetF|
|00000240| 6c 61 67 73 28 73 65 71 | 47 72 61 62 2c 20 66 6c |lags(seq|Grab, fl|
|00000250| 61 67 73 29 3b 0d 09 09 | 09 0d 09 09 09 2f 2f 20 |ags);...|.....// |
|00000260| 73 65 74 20 74 68 65 20 | 67 72 61 70 68 69 63 73 |set the |graphics|
|00000270| 20 77 6f 72 6c 64 20 74 | 6f 20 74 68 65 20 73 70 | world t|o the sp|
|00000280| 65 63 69 66 69 65 64 20 | 77 69 6e 64 6f 77 0d 09 |ecified |window..|
|00000290| 09 09 65 72 72 20 3d 20 | 53 47 53 65 74 47 57 6f |..err = |SGSetGWo|
|000002a0| 72 6c 64 28 73 65 71 47 | 72 61 62 2c 20 47 65 74 |rld(seqG|rab, Get|
|000002b0| 57 69 6e 64 6f 77 50 6f | 72 74 28 70 4d 61 63 57 |WindowPo|rt(pMacW|
|000002c0| 6e 64 29 2c 20 4e 55 4c | 4c 29 3b 0d 09 09 09 0d |nd), NUL|L);.....|
|000002d0| 09 09 09 2f 2f 20 67 65 | 74 20 74 68 65 20 64 65 |...// ge|t the de|
|000002e0| 66 61 75 6c 74 20 73 65 | 71 75 65 6e 63 65 20 67 |fault se|quence g|
|000002f0| 72 61 62 62 65 72 20 64 | 72 61 67 20 61 6c 69 67 |rabber d|rag alig|
|00000300| 6e 65 64 20 70 72 6f 63 | 0d 09 09 09 53 47 47 65 |ned proc|....SGGe|
|00000310| 74 41 6c 69 67 6e 6d 65 | 6e 74 50 72 6f 63 28 73 |tAlignme|ntProc(s|
|00000320| 65 71 47 72 61 62 2c 20 | 26 61 70 72 29 3b 0d 09 |eqGrab, |&apr);..|
|00000330| 09 7d 00 00 00 20 00 00 | 00 01 00 00 00 04 00 00 |.}... ..|........|
|00000340| 00 00 00 00 00 01 54 45 | 58 54 00 00 01 00 00 00 |......TE|XT......|
|00000350| 00 00 00 00 00 00 00 00 | 00 24 00 00 00 05 00 01 |........|.$......|
|00000360| 04 07 01 5d 02 8c 02 67 | 04 a9 00 00 00 00 00 00 |...]...g|........|
|00000370| 01 00 8c 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000380| 01 00 00 00 02 fe 00 00 | 01 fe 00 00 00 5a 0f 38 |........|.....Z.8|
|00000390| 50 30 04 1e 00 00 00 1c | 00 5a 00 02 54 45 58 54 |P0......|.Z..TEXT|
|000003a0| 00 00 00 1a 64 72 61 67 | 00 00 00 26 6b 77 73 74 |....drag|...&kwst|
|000003b0| 00 00 00 32 01 00 ff ff | 00 00 00 00 00 00 00 00 |...2....|........|
|000003c0| 00 80 ff ff 00 00 01 b2 | 00 00 00 00 bf 4c ff ff |........|.....L..|
|000003d0| 00 00 01 d6 00 bd 92 e4 | 00 00 00 00 00 00 00 00 |........|........|
|000003e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000003f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
+--------+-------------------------+-------------------------+--------+--------+